package com.kancy.vip.pattern.factory.abstractfactory;

import com.kancy.vip.pattern.factory.Phone;
import com.kancy.vip.pattern.factory.products.HuaWeiPhone;
import com.kancy.vip.pattern.factory.products.SanXingPhone;

public class AProductFactory implements PhoneFactory{
    @Override
    public Phone createSanxing() {
        return new SanXingPhone();
    }
    @Override
    public Phone createHuawei() {
        return new HuaWeiPhone();
    }
}
